/* 页面通用样式 */
.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
}

/* 首页样式 */
.home-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* 歌曲网格布局 */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* 歌曲卡片 */
.song-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

/* 添加到歌单按钮 */
.btn-add-to-playlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.song-card:hover .btn-add-to-playlist {
  opacity: 1;
}

.btn-add-to-playlist:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* 添加到歌单模态框内容样式 */
.add-to-playlist-content {
  padding: 20px 0;
}

.add-to-playlist-content p {
  margin-bottom: 16px;
  color: var(--text-color);
  font-size: 16px;
}

/* 歌单选择列表样式 */
.playlist-selection {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
}

/* 歌单选项按钮样式 */
.playlist-option {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.playlist-option:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* 榜单样式 */
.chart-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.chart-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.chart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.rank-number {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  width: 40px;
  text-align: center;
}

.chart-song-title {
  flex: 1;
  font-size: 16px;
  color: var(--text-color);
}

.chart-song-artist {
  font-size: 14px;
  color: var(--text-light);
}

/* 发现页面样式 */
.discover-page {
  max-width: 1200px;
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  background-color: var(--white);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.category-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.category-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* 歌单网格 */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.playlist-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.playlist-card:hover {
  transform: translateY(-5px);
}

.playlist-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.playlist-card .playlist-title {
  font-size: 16px;
  font-weight: 500;
  margin: 16px 16px 8px;
  color: var(--text-color);
}

.playlist-card .playlist-desc {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 16px 16px;
}

/* 我的音乐页面样式 */
.library-page {
  max-width: 1200px;
  margin: 0 auto;
}

.section h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-color);
}

/* 歌单列表 */
.playlist-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.playlist-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.playlist-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
}

.playlist-info {
  flex: 1;
}

.playlist-name {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 4px;
}

.playlist-count {
  font-size: 14px;
  color: var(--text-light);
}

.btn-play {
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-play:hover {
  background-color: #40a9ff;
}

/* 最近播放列表 */
.recent-play-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-play-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.recent-play-item:hover {
  background-color: #fafafa;
}

.recent-play-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.recent-play-item .song-info {
  flex: 1;
}

.recent-play-item .song-title {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 4px;
}

.recent-play-item .song-artist {
  font-size: 14px;
  color: var(--text-light);
}

.btn-play-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-play-small:hover {
  transform: scale(1.1);
  background-color: #40a9ff;
}

/* 按钮样式 */
.btn-primary {
  padding: 10px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #40a9ff;
}

.btn-edit {
  padding: 8px 16px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  margin-right: 8px;
  transition: background-color 0.3s ease;
}

.btn-edit:hover {
  background-color: #e6f7ff;
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.modal input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: var(--border-radius);
  font-size: 14px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.modal input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-actions button {
  padding: 8px 20px;
  border: 1px solid #d9d9d9;
  background-color: var(--white);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.modal-actions button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.modal-actions .btn-primary {
  border: none;
  margin: 0;
}

/* 错误信息样式 */
.error-message {
  padding: 12px;
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: var(--border-radius);
  color: #f5222d;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.error-message button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #f5222d;
}

/* 加载状态样式 */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .song-grid, .playlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  
  .section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .chart-item {
    flex-wrap: wrap;
  }
  
  .playlist-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .playlist-info {
    width: 100%;
  }
  
  .playlist-actions {
    width: 100%;
    display: flex;
  }
  
  .btn-play {
    flex: 1;
  }
  
  .btn-edit {
    flex: 1;
    margin-right: 8px;
  }
}

/* Admin页面样式 */
.admin-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-page .section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

/* 管理员标签页样式 */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 500;
}

.btn-add {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-add:hover {
  background-color: #40a9ff;
}

.songs-table-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.songs-table {
  width: 100%;
  border-collapse: collapse;
}

.songs-table th {
  background-color: #fafafa;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  border-bottom: 1px solid #f0f0f0;
}

.songs-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text-color);
}

.songs-table tr:hover {
  background-color: #fafafa;
}

.song-cover-small {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.btn-delete {
  padding: 8px 16px;
  background-color: #ff4d4f;
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-delete:hover {
  background-color: #ff7875;
}

/* 歌曲表单模态框样式 */
.song-form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.song-form {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.song-form h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: var(--border-radius);
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}

.form-actions button {
  padding: 10px 24px;
  border: 1px solid #d9d9d9;
  background-color: var(--white);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-actions button[type="submit"] {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.form-actions button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.form-actions button[type="submit"]:hover {
  background-color: #40a9ff;
  color: var(--white);
}

/* 响应式表格 */
@media (max-width: 992px) {
  .songs-table {
    font-size: 12px;
  }
  
  .songs-table th,
  .songs-table td {
    padding: 12px 8px;
  }
  
  .song-cover-small {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .songs-table {
    display: block;
    overflow-x: auto;
  }
  
  .admin-page .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .btn-add {
    align-self: stretch;
  }
}

/* 歌手页面样式 */
.artist-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 过滤器区域样式 */
.artist-filters {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  min-width: 80px;
}

.filter-btn {
  padding: 6px 16px;
  border: 1px solid #d9d9d9;
  background-color: var(--white);
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* 字母索引样式 */
.letter-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.letter-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d9d9d9;
  background-color: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.letter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* 重置按钮样式 */
.reset-btn {
  padding: 8px 20px;
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  transition: all 0.3s ease;
  margin-top: 12px;
}

.reset-btn:hover {
  background-color: #e6f7ff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 歌手容器样式 */
.artists-container {
  margin-bottom: 32px;
}

/* 字母分组样式 */
.artist-letter-group {
  margin-bottom: 32px;
}

.letter-header {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

/* 歌手网格样式 */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

/* 歌手卡片样式 */
.artist-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.artist-avatar {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.artist-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.artist-gender,
.artist-type {
  font-size: 12px;
  color: var(--text-light);
}

/* 总数统计样式 */
.total-count {
  font-size: 14px;
  color: var(--text-light);
  text-align: right;
  margin-bottom: 16px;
}

/* 404页面样式 */
.not-found-container {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  padding: 20px;
}

.not-found-content {
  text-align: center;
  padding: 60px 40px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  width: 100%;
}

.not-found-title {
  font-size: 120px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 20px 0;
  line-height: 1;
}

.not-found-message {
  font-size: 24px;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.not-found-submessage {
  font-size: 16px;
  color: var(--text-light);
  margin: 0 0 32px 0;
}

.not-found-content .btn-primary {
  padding: 12px 32px;
  font-size: 16px;
}

/* 文件上传相关样式 */
.file-upload-section {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.file-upload-label {
  padding: 8px 16px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.file-upload-label:hover {
  background-color: #e6f7ff;
}

.btn-clear-file {
  padding: 8px 16px;
  background-color: #fff1f0;
  color: #f5222d;
  border: 1px solid #ffccc7;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-clear-file:hover {
  background-color: #ffccc7;
  border-color: #ff7875;
}

.upload-progress {
  margin-top: 12px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-light);
}

/* 禁用状态的输入框样式 */
input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* 分页控件样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f0f0f0;
  border-color: #1db954;
  color: #1db954;
}

.pagination-btn.active {
  background-color: #1db954;
  color: white;
  border-color: #1db954;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  margin-left: 20px;
  color: #666;
  font-size: 14px;
}

/* 响应式分页样式 */
@media (max-width: 768px) {
  .pagination {
    flex-direction: column;
    gap: 10px;
  }
  
  .pagination-info {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* 响应式文件上传样式 */
@media (max-width: 768px) {
  .file-upload-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .file-upload-label {
    width: 100%;
  }
  
  .btn-clear-file {
    width: 100%;
  }
}

/* 分类复选框样式 */
.category-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.checkbox-label:hover {
  background-color: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* 响应式分类复选框样式 */
@media (max-width: 768px) {
  .category-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* PlaylistItem 组件样式 */

/* 网格卡片模式样式 */
.playlist-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.playlist-card:hover {
  transform: translateY(-5px);
}

.playlist-card-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.playlist-card-title {
  font-size: 16px;
  font-weight: 500;
  margin: 16px 16px 8px;
  color: var(--text-color);
}

.playlist-card-desc {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 16px 16px;
}

.playlist-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

/* 列表项模式样式 */
.playlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.playlist-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.playlist-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.playlist-item-info {
  flex: 1;
  cursor: pointer;
}

.playlist-item-name {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 4px;
}

.playlist-item-count {
  font-size: 14px;
  color: var(--text-light);
}

.playlist-item-actions {
  display: flex;
  gap: 8px;
}

/* 详情模式样式 */
.playlist-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.playlist-detail-cover {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
  align-self: center;
}

.playlist-detail-info {
  text-align: center;
}

.playlist-detail-name {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}

.playlist-detail-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.playlist-detail-count {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.playlist-detail-official {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 16px;
  font-size: 12px;
}

.playlist-detail-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* 操作按钮通用样式 */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .playlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .playlist-card-cover {
    height: 160px;
  }
  
  .playlist-detail {
    padding: 16px;
  }
  
  .playlist-detail-cover {
    max-width: 280px;
  }
  
  .playlist-detail-name {
    font-size: 24px;
  }
  
  .playlist-detail-actions {
    flex-wrap: wrap;
  }
}